package cn.iocoder.yudao.module.vos.controller.admin.secretaccountproductprice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 全局产品定价（产品权限唯一 → 价格） Response VO")
@Data
@ExcelIgnoreUnannotated
public class SecretAccountProductPriceRespVO {

    @Schema(description = "API 产品权限编码（唯一）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "API 产品权限编码（唯一）", converter = DictConvert.class)
    @DictFormat("request_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String productPermission;

    @Schema(description = "单价(元)", requiredMode = Schema.RequiredMode.REQUIRED, example = "26510")
    @ExcelProperty("单价(元)")
    private BigDecimal unitPrice;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}